#!/bin/bash

npm run build

ip=10.0.8.131
path=/opt/zoomeyebe/node_modules/zoomeyebe-ui/build/

echo "请确保已经添加对应服务器公钥：${ip}"

rsync -avzh build/* ksprod@${ip}:${path}

rm -rf build

echo "发布完成"
